<% include("/common/top.html"){} %>
<div class="content-wrapper">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1>Home Page</h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="/">Home</a></li>
                    </ol>
                </div>
            </div>
        </div>
    </section>

    <!-- Main content -->
    <section class="content">
        <div  style="width: 90%">
            <div class="card card-default">
                <div class="card-header">
                    <h3 class="card-title">
                        <i class="fas fa-bullhorn"></i>
                        Hbase 集群信息
                    </h3>
                </div>
                <!-- /.card-header -->
                <div class="card-body">
                    <div class="callout callout-danger">
                        <h5>hbase版本</h5>

                        <p>${cluster.hbaseVersion}</p>
                    </div>
                    <div class="callout callout-info">
                        <h5>可用Server</h5>
                        <% for(obj in cluster.serverList) { %>
                        <p><% print(obj); %></p>
                        <% } %>
                    </div>
                    <div class="callout callout-warning">
                        <h5>region数量</h5>

                        <p>${cluster.regionsCount}</p>
                    </div>
                    <div class="callout callout-success">
                        <h5>Cluster ID</h5>

                        <p>${cluster.clusterID}</p>
                    </div>
                </div>
                <!-- /.card-body -->
            </div>
        </div>
    </section>
    <!-- /.content -->
</div>
<% include("/common/footer.html"){} %>

</div>

<script src="/static/plugins/jquery/jquery.min.js"></script>
<script src="/static/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="/static/dist/js/adminlte.min.js"></script>
</body>
</html>